package com.xxxx.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.seckill.VO.GoodsVO;
import com.xxxx.seckill.pojo.Goods;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author Jack
 * @since 2024-04-06
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    /**
     * 功能描述：获取商品列表
     *
     * @return :
     */
    List<GoodsVO> findGoodsVO();

    GoodsVO findGoodsVOByGoodsId(@Param("goodsId") Long goodsId);
}
